package com.citms.remote.client;

import com.citms.common.Constant;
import com.citms.remote.model.ResultInfoModel;
import com.citms.remote.model.UserRightViewModel;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * 调用用户管理服务
 */
@FeignClient(Constant.SERVICE_SMW_CODE)
public interface UserClient {

   @GetMapping("/smw/UAC/GetUserInfo")
   ResultInfoModel<UserRightViewModel> getUserInfo();

}
